/**
 * @license EPL-2.0
 * @author FangLimao
 */
import { ItemStack, RawMessage } from "@minecraft/server";

/**
 * Item data, including the item and its name.
 */
export interface ItemData {
  /**
   * Name of the item.
   */
  name: RawMessage;
  /**
   * The item.
   */
  item: ItemStack;
}

/**
 * Entity data, including the entity's type id and its name.
 */
export interface EntityData {
  /**
   * Name of the entity.
   */
  name: string;
  /**
   * The entity's type id.
   */
  typeId: string;
}